import { axios } from '@/utils/request'

export function query (parameter) {
  return axios({
    url: '/collectionSong/query',
    method: 'post',
    data: parameter
  })
}

export function add (parameter) {
  return axios({
    url: '/collectionSong/add',
    method: 'post',
    data: parameter
  })
}

export function remove (parameter) {
  return axios({
    url: '/collectionSong/remove',
    method: 'post',
    data: parameter
  })
}

export function removeByUserId (parameter) {
  return axios({
    url: '/collectionSong/removeByUserId',
    method: 'post',
    data: parameter
  })
}
